package com.wolf.lottery.infrastructure.dao;

import com.wolf.lottery.infrastructure.po.Strategy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description: 策略表DAO
 * @author: wolf
 * @date: 2023/6/13
 */
@Mapper
public interface IStrategyDao {

    /**
     * 查询策略明细
     *
     * @param strategyId 策略ID
     * @return 策略配置信息
     */
    Strategy queryStrategy(@Param("strategyId") Long strategyId);

    /**
     * 插入策略配置
     * @param strategy
     */
    void insert(Strategy strategy);

}
